namespace KPIS.GERP.Models.Migrations
{
    using System;
    using System.Data.Entity.Migrations;
    
    public partial class update0042 : DbMigration
    {
        public override void Up()
        {
            AddColumn("dbo.IcmInventoryStockTaking", "ResourceTypeId", c => c.Int(nullable: false));
            AlterColumn("dbo.IcmInventoryStockTakingItem", "StockTakingCode", c => c.Int(nullable: false));
        }
        
        public override void Down()
        {
            AlterColumn("dbo.IcmInventoryStockTakingItem", "StockTakingCode", c => c.String());
            DropColumn("dbo.IcmInventoryStockTaking", "ResourceTypeId");
        }
    }
}
